home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / CRMSerialDevices.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  1.1 KB  |  59 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        CRMSerialDevices.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __CRMSERIALDEVICES__
  13. #define __CRMSERIALDEVICES__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. #endif
  18.  
  19.  
  20. enum {
  21.  
  22.  
  23. /*    for the crmDeviceType field of the CRMRec data structure */
  24.  crmSerialDevice = 1,
  25.  
  26.  
  27. /*  version of the CRMSerialRecord below */
  28.  curCRMSerRecVers = 1
  29. };
  30.  
  31. /* Maintains compatibility w/ apps & tools that expect an old style icon    */
  32. struct CRMIconRecord {
  33.  long oldIcon[32];    /* ICN#    */
  34.  long oldMask[32];
  35.  Handle theSuite;    /* Handle to an IconSuite    */
  36.  long reserved;
  37. };
  38.  
  39. typedef struct CRMIconRecord CRMIconRecord;
  40. typedef CRMIconRecord *CRMIconPtr, **CRMIconHandle;
  41.  
  42. struct CRMSerialRecord {
  43.  short version;
  44.  StringHandle inputDriverName;
  45.  StringHandle outputDriverName;
  46.  StringHandle name;
  47.  CRMIconHandle deviceIcon;
  48.  long ratedSpeed;
  49.  long maxSpeed;
  50.  long reserved;
  51. };
  52.  
  53. typedef struct CRMSerialRecord CRMSerialRecord;
  54. typedef CRMSerialRecord *CRMSerialPtr;
  55.  
  56.  
  57.  
  58. #endif
  59.